﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about Vvariable is display in Forum 
    /// </summary>
    public class Variable
    {
        #region Variable Private
        private int _variableID;
        private string _name;
        private string _description;
        private string _value;
        #endregion

        #region Properties Public
        public int VariableID
        {
            get { return _variableID; }
            set { _variableID = value; }
        }
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        public string Value
        {
            get { return this._value; }
            set { this._value = value; }
        }
        #endregion

        public Variable() { }
        public Variable( string name, string description, string value)
        {
            this.Name = name;
            this.Description = description;
            this.Value = value;
        }
        public Variable(int variableId, string name, string description, string value)
        {
            this.VariableID = variableId;
            this.Name = name;
            this.Description = description;
            this.Value = value;
        }
    }
}
